package results;

import equations.Problem;

/**
 * Class will be used to represent an incorrect problem, this will be used in the context of progress reports
 * and potentially the error screen.
 * @author stewarte
 *
 */
public class IncorrectProblemStatistic {

	private Problem prob;
	
	private int countWrong;
	
	/**
	 * This class wraps Problem and will get statistics about the problem like hte count wrong
	 * @param p
	 * @param count
	 */
	public IncorrectProblemStatistic(Problem p, int count){
		prob = p;
		countWrong = count;
	}
	
	/**
	 * Gets the equation for the problem
	 * @return
	 */
	public String getProblemEquation(){
		return this.prob.getEquation();
	}
	
	/**
	 * 
	 */
	public int getCountWrong(){
		return countWrong;
	}
	
}
